package com.crm.service.godluck;

import com.crm.model.entity.godluck.GodLuckRecord;

import java.util.Date;
import java.util.List;

public interface GodLuckRecordDbService {

    /**
     * @Description: 添加抽签记录
     * @Param: [record]
     * @Return: java.lang.Boolean
     * @Author: lixq-f
     * @Date: 2021/4/13
    **/
    Boolean addGodLuckRecord(GodLuckRecord record);


    /**
     * @Description: 统计今日抽签人数
     * @Param: []
     * @Return: java.lang.Integer
     * @Author: lixq-f
     * @Date: 2021/5/14
    **/
    Integer statisticsGodLuckNumToday(Date startTm, Date endTm);


    /**
     * @Description: 根据创建时间获取前三名头像
     * @Param: []
     * @Return: java.util.List<java.lang.String>
     * @Author: lixq-f
     * @Date: 2021/5/14
    **/
    List<String> getTopThreeByCTime(Date startTm, Date endTm);

}
